<div class="maintable_div" style="width:800px">
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" class="maintable">
  <tr>
    <th align="left"><div class="thead"><{$page_title}></div></th>
  </tr>
  <tr>
    <td>
    <table width="800" border="0" align="center" cellpadding="0" cellspacing="0" class="datalist">
      <tr class="title">
        <th width="35" align="center" bgcolor="#D8E0E5">选中</th>
        <th width="90" align="center" bgcolor="#D8E0E5"><a href="<{$sort_class_name}>">类别</a></th>
        <th align="center" bgcolor="#D8E0E5"><a href="<{$sort_imgs_name}>">图片名称</a></th>
        <th width="140" align="center" bgcolor="#D8E0E5"><a href="<{$sort_imgs_pubtime}>">发布时间</a></th>
        <th width="70" align="center" bgcolor="#D8E0E5"><a href="<{$sort_imgs_author}>">录入者</a></th>
        <th width="30" align="center" bgcolor="#D8E0E5" class="undis"><a href="<{$sort_imgs_index}>">首页</a></th>
        <th width="30" align="center" bgcolor="#D8E0E5" class="undis"><a href="<{$sort_imgs_istop}>">置顶</a></th>
        <th width="30" align="center" bgcolor="#D8E0E5"><a href="<{$sort_imgs_isvalid}>">有效</a></th>
        <th width="35" align="center" bgcolor="#D8E0E5" class="undis"><a href="<{$sort_imgs_click_count}>">点击</a></th>
      </tr>
      <{section name=sec loop=$row_result}>
      <tr bgcolor="#F0F0F0">
        <td align="center"><input name="id" type="checkbox" value="<{$row_result[sec].id}>" /></td>
        <td align="center"><{$row_result[sec].class_name|light_keyword:$search_key}></td>
        <td align="center"><a href="imgs_edit.php?<{$sort_url_param}>&page=<{$curr_page}>&id=<{$row_result[sec].id}>" title="点击编辑该记录" onmouseover="return overlib('<img src=<{$row_result[sec].imgs_thumb}> />',FGCOLOR,'#FFFFFF',BGCOLOR,'#DFDFDF',WIDTH,10, VAUTO);" onmouseout="return nd();"><{$row_result[sec].imgs_name|light_keyword:$search_key}></a></td>
        <td align="center"><{$row_result[sec].imgs_pubtime}></td>
        <td align="center"><{$row_result[sec].imgs_author}></td>
        <td align="center" class="undis"><span class=<{if $row_result[sec].imgs_index}>"green">是<{else}>"gray">否<{/if}></span></td>
        <td align="center" class="undis"><span class=<{if $row_result[sec].imgs_istop}>"green">有效<{else}>"gray">无效<{/if}></span></td>
        <td align="center"><span class=<{if $row_result[sec].imgs_isvalid}>"green">是<{else}>"gray">否<{/if}></span></td>
        <td align="center" class="undis"><{$row_result[sec].imgs_click_count}> 次</td>
      </tr>
      <{/section}>
      <tr bgcolor="#F0F0F0">
        <td colspan="9">
          <table width="100%" border="0" cellspacing="0" cellpadding="0" class="noborder">
            <tr>
              <td align="center" width="30"><input name="chkAll" type="checkbox" onclick="CheckAll('id')" /></td>
              <td align="left">全部选中</td>
              <td><div class="PageControl"><{$page_list}></div></td>
            </tr>
          </table></td>
      </tr>
    </table>
    </td>
  </tr>
</table>
</div>

<div class="formControl">
  <input type="button" name="submit" value="添加图片" class="button" onclick="location.href='imgs_add.php?<{$sort_url_param}>&page=<{$curr_page}>';" />
  <input type="button" name="submit" value="审核所选" class="button" onclick="location.href='?<{$sort_url_param}>&page=<{$curr_page}>&action=confirm&id='+getOperaValue('id');" />
  <input type="button" name="submit" value="取消审核" class="button" onclick="location.href='?<{$sort_url_param}>&page=<{$curr_page}>&action=deconfirm&id='+getOperaValue('id');" />
  <input type="button" name="submit" value="删除所选" class="button" onclick="batchDel('?<{$sort_url_param}>&page=<{$curr_page}>&action=del&id=',getOperaValue('id'));" />
  <input type="button" name="return" value="返回上一页" class="button" onclick="history.go(-1)" />
</div>

<div class="maintable_div" style="width:800px">
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" class="maintable">
  <tr>
    <th align="left"><div class="thead"><{$imgs_search}></div></th>
  </tr>
  <tr>
    <td>
    <div class="searchbox">
      <form name="search" action="?<{$sort_url_param}>&page=<{$curr_page}>&action=search" method="post">
        <strong>分类跳转：</strong>
        <{$imgs_classid_box}>&nbsp;&nbsp;
        <strong>搜索关键字 :</strong>
        <input name="keyword" type="text" value="<{$keyword}>" style="width:250px" class="text" />
        <input type="submit" name="submit" value=" 搜 索 " class="button" />
      </form>
    </div>
    </td>
  </tr>
</table>
</div>
